package cn.xyhelp.shop.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工订单表
 * </p>
 *
 * @author violetfreesia
 * @since 2022-02-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("staff_order")
public class StaffOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("staff_id")
    private Integer staffId;

    @TableField("order_id")
    private Integer orderId;

    @TableField("store_id")
    private Integer storeId;

    /**
     * 订单描述
     */
    @TableField("description")
    private String description;

    /**
     * 本单报酬
     */
    @TableField("reward")
    private Long reward;


}
